import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import './assets/all.css'

// iframe 接收参数
window.addEventListener('message', function (e) {
  if (e.data.method == "iframeTransmit") {
    console.log('接收参数成功');
    window.location.reload() // 刷新界面方法
  }
}, false);
Vue.config.productionTip = false
Vue.use(ElementUI);
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
